home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / MacTechNotes / Platforms & Tools / Stand-Alone Code.sit / CTestƒ / CTest.c next >
MacBinary  |  1990-07-15  |  1.3 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: CTest.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Jul 15 20:22:24 1990, modified Sun Jul 15 20:22:24 1990, creator 'MPS ', type ASCII, 732 bytes "CTest.c" , at 0x35c 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 43 54 65 73 74 2e | 63 00 00 00 00 00 00 00 |..CTest.|c.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 02 dc 00 | 00 01 7e a2 c6 b9 40 a2 |........|..~...@.|
|00000060| c6 b9 40 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..@.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7a d9 00 00 |........|....z...|
|00000080| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|00000090| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 51 75 |.h>.#inc|lude <Qu|
|000000a0| 69 63 6b 44 72 61 77 2e | 68 3e 0d 23 69 6e 63 6c |ickDraw.|h>.#incl|
|000000b0| 75 64 65 20 3c 46 6f 6e | 74 73 2e 68 3e 0d 23 69 |ude <Fon|ts.h>.#i|
|000000c0| 6e 63 6c 75 64 65 20 3c | 57 69 6e 64 6f 77 73 2e |nclude <|Windows.|
|000000d0| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 4f 53 55 |h>.#incl|ude <OSU|
|000000e0| 74 69 6c 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |tils.h>.|#include|
|000000f0| 20 3c 53 41 47 6c 6f 62 | 61 6c 73 2e 68 3e 0d 0d | <SAGlob|als.h>..|
|00000100| 0d 76 6f 69 64 20 55 73 | 65 51 75 69 63 6b 44 72 |.void Us|eQuickDr|
|00000110| 61 77 20 28 76 6f 69 64 | 29 20 7b 0d 09 41 35 52 |aw (void|) {..A5R|
|00000120| 65 66 54 79 70 65 20 41 | 35 52 65 66 3b 0d 09 6c |efType A|5Ref;..l|
|00000130| 6f 6e 67 20 6f 6c 64 41 | 35 3b 0d 09 52 65 63 74 |ong oldA|5;..Rect|
|00000140| 20 74 68 65 52 65 63 74 | 3b 0d 09 57 69 6e 64 6f | theRect|;..Windo|
|00000150| 77 50 74 72 20 74 68 65 | 57 69 6e 64 3b 0d 09 0d |wPtr the|Wind;...|
|00000160| 09 69 66 20 28 21 42 75 | 74 74 6f 6e 28 29 29 20 |.if (!Bu|tton()) |
|00000170| 7b 0d 09 09 6f 6c 64 41 | 35 20 3d 20 4f 70 65 6e |{...oldA|5 = Open|
|00000180| 41 35 57 6f 72 6c 64 28 | 26 41 35 52 65 66 29 3b |A5World(|&A5Ref);|
|00000190| 0d 09 09 09 49 6e 69 74 | 47 72 61 66 28 26 71 64 |....Init|Graf(&qd|
|000001a0| 2e 74 68 65 50 6f 72 74 | 29 3b 0d 09 09 09 49 6e |.thePort|);....In|
|000001b0| 69 74 46 6f 6e 74 73 28 | 29 3b 0d 09 09 09 49 6e |itFonts(|);....In|
|000001c0| 69 74 57 69 6e 64 6f 77 | 73 28 29 3b 0d 09 09 09 |itWindow|s();....|
|000001d0| 49 6e 69 74 43 75 72 73 | 6f 72 28 29 3b 0d 09 09 |InitCurs|or();...|
|000001e0| 09 74 68 65 52 65 63 74 | 2e 74 6f 70 20 3d 20 74 |.theRect|.top = t|
|000001f0| 68 65 52 65 63 74 2e 6c | 65 66 74 20 3d 20 30 3b |heRect.l|eft = 0;|
|00000200| 0d 09 09 09 74 68 65 52 | 65 63 74 2e 72 69 67 68 |....theR|ect.righ|
|00000210| 74 20 3d 20 32 30 30 3b | 0d 09 09 09 74 68 65 52 |t = 200;|....theR|
|00000220| 65 63 74 2e 62 6f 74 74 | 6f 6d 20 3d 20 31 32 30 |ect.bott|om = 120|
|00000230| 3b 0d 09 09 09 4f 66 66 | 73 65 74 52 65 63 74 28 |;....Off|setRect(|
|00000240| 26 74 68 65 52 65 63 74 | 2c 28 71 64 2e 73 63 72 |&theRect|,(qd.scr|
|00000250| 65 65 6e 42 69 74 73 2e | 62 6f 75 6e 64 73 2e 72 |eenBits.|bounds.r|
|00000260| 69 67 68 74 2d 74 68 65 | 52 65 63 74 2e 72 69 67 |ight-the|Rect.rig|
|00000270| 68 74 29 2f 32 2c 28 71 | 64 2e 73 63 72 65 65 6e |ht)/2,(q|d.screen|
|00000280| 42 69 74 73 2e 62 6f 75 | 6e 64 73 2e 62 6f 74 74 |Bits.bou|nds.bott|
|00000290| 6f 6d 2d 74 68 65 52 65 | 63 74 2e 62 6f 74 74 6f |om-theRe|ct.botto|
|000002a0| 6d 29 2f 32 29 3b 0d 09 | 09 09 74 68 65 57 69 6e |m)/2);..|..theWin|
|000002b0| 64 20 3d 20 4e 65 77 57 | 69 6e 64 6f 77 28 28 50 |d = NewW|indow((P|
|000002c0| 74 72 29 20 30 2c 20 26 | 74 68 65 52 65 63 74 2c |tr) 0, &|theRect,|
|000002d0| 20 22 5c 70 42 6f 6f 74 | 69 6e 67 c9 22 2c 20 74 | "\pBoot|ing.", t|
|000002e0| 72 75 65 2c 20 6e 6f 47 | 72 6f 77 44 6f 63 50 72 |rue, noG|rowDocPr|
|000002f0| 6f 63 2c 20 28 57 69 6e | 64 6f 77 50 74 72 29 20 |oc, (Win|dowPtr) |
|00000300| 2d 31 2c 20 66 61 6c 73 | 65 2c 20 30 29 3b 0d 09 |-1, fals|e, 0);..|
|00000310| 09 09 53 79 73 42 65 65 | 70 28 31 29 3b 0d 09 09 |..SysBee|p(1);...|
|00000320| 09 44 69 73 70 6f 73 65 | 57 69 6e 64 6f 77 28 74 |.Dispose|Window(t|
|00000330| 68 65 57 69 6e 64 29 3b | 0d 09 09 43 6c 6f 73 65 |heWind);|...Close|
|00000340| 41 35 57 6f 72 6c 64 28 | 6f 6c 64 41 35 2c 20 41 |A5World(|oldA5, A|
|00000350| 35 52 65 66 29 3b 0d 09 | 7d 0d 7d 0d 00 00 00 00 |5Ref);..|}.}.....|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000390| d6 3f 3c 00 02 a9 f0 6d | 1a 3f 3c 00 02 a9 f0 6d |.?<....m|.?<....m|
|000003a0| 78 3f 3c 00 02 a9 f0 6d | 84 3f 3c 00 02 a9 f0 6d |x?<....m|.?<....m|
|000003b0| 07 43 54 65 73 74 2e 63 | 02 00 00 00 50 61 72 74 |.CTest.c|....Part|
|000003c0| 53 49 54 78 00 00 00 00 | 00 00 00 00 00 01 5b f2 |SITx....|......[.|
|000003d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a9 7f fe 96 00 00 | 00 00 00 00 01 7e f0 6f |........|.....~.o|
|00000400| a4 3f 3c 00 02 a9 f0 6f | e0 3f 3c 00 02 a9 f0 70 |.?<....o|.?<....p|
|00000410| 20 3f 3c 00 02 a9 f0 70 | 46 3f 3c 00 02 a9 f0 70 | ?<....p|F?<....p|
|00000420| a2 3f 3c 00 02 a9 f0 70 | c2 3f 3c 00 02 a9 f0 70 |.?<....p|.?<....p|
|00000430| e6 3f 3c 00 02 a9 f0 71 | 14 3f 3c 00 02 a9 f0 71 |.?<....q|.?<....q|
|00000440| 2c 3f 3c 00 02 a9 f0 71 | ea 3f 3c 00 02 a9 f0 72 |,?<....q|.?<....r|
|00000450| ea 3f 3c 00 02 a9 f0 74 | d2 3f 3c 00 02 a9 f0 75 |.?<....t|.?<....u|
|00000460| 0a 3f 3c 00 02 a9 f0 75 | 3e 3f 3c 00 02 a9 f0 76 |.?<....u|>?<....v|
|00000470| 06 3f 3c 00 02 a9 f0 77 | 12 3f 3c 00 02 a9 f0 77 |.?<....w|.?<....w|
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 4f 53 55 |...H..Mo|naco.OSU|
|00000490| 74 69 6c 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |tils.h>.|#include|
|000004a0| 20 3c 53 41 47 6c 00 06 | 00 04 00 3c 00 24 01 dd | <SAGl..|...<.$..|
|000004b0| 02 3d 00 3c 00 24 01 dd | 02 3d a2 c6 64 e0 00 00 |.=.<.$..|.=..d...|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|000004d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 5b 6c 78 |...L...L|...2.[lx|
|000004e0| 04 6a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.j.....2|..MPSR..|
|000004f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 5d 13 64 00 00 |........|...].d..|
+--------+-------------------------+-------------------------+--------+--------+